<%= simple_form_for [:admin, @banner], :html => { :class => "form_style1" } do |f| %>
  <div class="field_groups">
    <%= f.input :channel_id, :as => :select, :collection => collection_channels, :include_blank => false, :label => "채널" %>
  </div>
  <div class="field_groups">
    <%= f.input :name, :label => "이름" %>
    <%= f.input :desc, :label => "설명" %>
  </div>
  <div class="field_groups">
    <%= f.input :image_url, :label => "이미지 URL" %>
    <%= f.input :landing_url, :label => "도착 URL" %>
  </div>
  <div class="buttons">
    <%= f.submit "저장" %>
    <%= link_to "배너목록으로 돌아가기", [:admin, :banners] %>
  </div>
<% end %>
